from aiogram import Dispatcher
from aiogram.filters import Command
from aiogram_dialog import DialogRegistry

from app.bot.handlers.client.start import start, start_dialog

# from .create_order import create_order_dialog
# from .orders.rotation_period import rotation_period_dialog
# from .profile import user_profile_dialog
from .select_book import select_book_dialog

# from app.bot.handlers.help import help_dialog


def register_handlers(dp: Dispatcher):
    dp.message.register(start, Command(commands="start"))


def register_dialogs(registry: DialogRegistry):
    registry.register(start_dialog)
    registry.register(select_book_dialog)
    # registry.register(user_profile_dialog)
    # registry.register(help_dialog)
    # registry.register(create_order_dialog)
    # registry.register(orders_history_dialog)
